package com.fanshilz.flower2025.business.flower.projectLink.entity;

import com.fanshilz.flower2025.framework.mybatisflex.BaseEntity;
import com.fanshilz.flower2025.framework.mybatisflex.InsertOrUpdateListener;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.math.BigDecimal;

/**
 *  实体类。
 *
 * @author fugui
 * @since 2024-12-12
 */
@EqualsAndHashCode(callSuper = true)
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@Table(value = "flower_project_link", onInsert = InsertOrUpdateListener.class, onUpdate = InsertOrUpdateListener.class)
public class ProjectLink extends BaseEntity {

    @Id(keyType = KeyType.Auto)
    private Long linkId;

    private Integer linkProjectId;

    private String linkProjectName;

    private String linkFromName;

    private Integer linkFromIdentityTypeValue;

    private String linkFromIdentityTypeLabel;

    private String linkFromIdTypeCompanyName;

    private String linkFromMobile;

    private Double linkFromMoney;

    private String linkFromRemark;

    private Integer linkStatusValue;

    private String linkStatusLabel;

    private Long linkToUserId;

}
